package com.yuexi.infrastructure.db.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author jie
 * @date 2023/4/5 -18:39
 */
@Data
public class Bill {

    @TableId
    private String id;
    private String outTradeNo;
    private String payBy;
    private String createUser;
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    private String areaType;
    private BigDecimal originalPrice;
    private BigDecimal receivable;
    private BigDecimal actuallyPaid;
    private BigDecimal giveChange;
    private BigDecimal discount;

}
